package org.example.work2.at.business.feign;

import org.example.work2.at.business.dto.Order;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

/**
 * 帐户服务
 *
 * @author xh
 * @date 2023/04/03
 */
@FeignClient("at-order-service")
@RequestMapping("/order")
public interface OrderClient {

    @PostMapping("/create")
    boolean createOrder(@RequestBody Order order);
}
